package cn.copera.dyy.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.copera.dyy.common.service.BaseService;
import cn.copera.dyy.dao.ShareSetDao;
import cn.copera.dyy.entity.ShareSet;

/**
 * 店铺分享设置Service
 * 
 */
@Service
@Transactional(readOnly = true)
public class ShareSetService extends BaseService {

	@Autowired
	private ShareSetDao shareSetDao;

	@Transactional(readOnly = false)
	public void save(ShareSet shareSet) {
		shareSetDao.clear();
		shareSetDao.save(shareSet);
	}
	
	
}
